package com.xuxin.nantai.contract;

import com.xuxin.nantai.bean.BaseBean;
import com.xuxin.nantai.bean.HangUpdateLoginBean;
import com.xuxin.nantai.bean.ProductInfoBean;
import com.xuxin.nantai.presenter.HangUpdatePresenter;

/**
 * Created by xu_xin
 * Created on 2020.06.18 0018
 */
public interface HangUpdateContract {

    interface Model {

        void getAllProductInfo(HangUpdatePresenter presenter,String InsType);

        void update(HangUpdatePresenter presenter,
                    String LoginName,
                    String UserName,
                    String Guid,
                    String ID,
                    String cInvName,
                    String PackQty,
                    String InspectorName,
                    String InspectorCode,
                    String InspectTime,
                    String FacArea,
                    String DefectNum,
                    String DefectDes,
                    String Remark);
    }

    interface View extends BaseContract.view {

        void onSuccess(ProductInfoBean productInfoBean);

        void onSuccess(BaseBean baseBean);
    }

    interface Presenter extends BaseContract.presenter {

        void getAllProductInfo(String InsType);

        void update(String LoginName,
                    String UserName,
                    String Guid,
                    String ID,
                    String cInvName,
                    String PackQty,
                    String InspectorName,
                    String InspectorCode,
                    String InspectTime,
                    String FacArea,
                    String DefectNum,
                    String DefectDes,
                    String Remark);

        void onSuccess(ProductInfoBean productInfoBean);

        void onSuccess(BaseBean baseBean);
    }
}